package com.imooc.pojo.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 用户新增或修改地址的BO
 */
@ApiModel(value = "用户收货地址对象BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class AddressBO {

    private String addressId;
    @ApiModelProperty(name = "addressId",value = "用户id",required = true,example = "1001")
    private String userId;
    @ApiModelProperty(name = "receiver",value = "收货人姓名",required = true,example = "黄河")
    private String receiver;
    @ApiModelProperty(name = "mobile",value = "收货人手机",required = true,example = "13100774676")
    private String mobile;
    @ApiModelProperty(name = "province",value = "收货人所在省",required = true,example = "湖北省")
    private String province;
    @ApiModelProperty(name = "city",value = "收货人所在市",required = true,example = "武汉市")
    private String city;
    @ApiModelProperty(name = "district",value = "收货人所在区",required = true,example = "武昌区")
    private String district;
    @ApiModelProperty(name = "detail",value = "收货人详细地址",required = true,example = "武汉大学")
    private String detail;

    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }
}
